package com.lian.service.impl;

import com.lian.dao.impl.staffdaoimpl;
import com.lian.dao.staffdao;
import com.lian.entity.staff;
import com.lian.service.staffService;

import java.util.List;

/**
 * Created by lenovo on 2018/8/6.
 */
public class staffServiceimpl implements staffService
{
   staffdao dao=new staffdaoimpl();
    @Override
    public List<staff> findstaff(int staffid) {
        return dao.findstaff(staffid);
    }

    @Override
    public int findID(int uid) {
        return dao.findID(uid);
    }

    @Override
    public int FindByStaffid(int staffid) {
        return dao.FindByStaffid(staffid);
    }


}
